<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <div class="content">
    
    <div class="box">
	    <div class="box-header">
	    	<a href="<s:url value="/accountManager/to_add"/>" class="btn btn-primary">创建账号</a>
	    </div>	
		<div class="box-body">
			<table class="table">
				<thead>
				<tr>
					<th>编号</th>
					<th>账号</th>
					<th>Token</th>
					<th>EncodingAESKey</th>
				</tr>
				</thead>
				<tbody>
					<c:forEach items="${accounts }" var="obj">
						<tr>
							<td>${obj.id }</td>
							<td>${obj.name }</td>
							<td>${obj.token }</td>
							<td>${obj.encodingAESKey }</td>
						</tr>
					</c:forEach>
				</tbody>
			</table>
		</div>
	</div>
    </div>
